/**
 * 
 */
package com.jm.web.form;

import com.jm.utils.StringHelper;
import com.jm.web.form.support.FormItem;
import com.jm.web.tags.support.BaseTag;

/**
 * @author yanjie
 * Oct 31, 2011 8:47:10 AM
 */
public class Export extends FormItem{
	private String sheetName = "sheet1";
	/**
	 * @param tag
	 */
	public Export() {}
	
	@Override
	public void OnSetProperty(String strName, String strValue) {
		if(StringHelper.Compare("sheetname",strName,true) == 0){
			this.sheetName = strValue;
			return;
		}
		super.OnSetProperty(strName, strValue);
	}
	
	public String getSheetName() {
		return StringHelper.getValue(sheetName,"sheet1");
	}

	public void setSheetName(String sheetName) {
		this.sheetName = sheetName;
	}
}	
